<?php

namespace App\Models\Personnel;

use App\Models\Model;

class PersonnelWorkExperience extends Model
{
    protected $table = 'akbus_personnel_work_experience';

    protected $fillable = [
        'start_at',
        'end_at',
        'unit',
        'office',
        'reason',
    ];

    /**
     * 类型转化
     *
     * @var array
     */
    protected $casts = [
    ];

    public function personnel(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(Personnel::class);
    }
}
